Skip to content

fix(ci): upload playwright-report from example/'s working directory - #1349

Merged
gabrielseco merged 2 commits into
mainfrom
fix/playwright-report-artifact-path
Sep 22, 2026
Merged

gabrielseco merged 2 commits into
mainfrom
fix/playwright-report-artifact-path

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

E2E test failures never uploaded a debuggable Playwright report/trace in CI — the artifact upload silently found no files.

Why

The Playwright test step runs with working-directory: ./example, so the HTML report is written to example/playwright-report/. The upload-artifact step used a repo-root-relative path (playwright-report/), which never matched. The job log showed:

No files were found with the provided path: playwright-report/. No artifacts will be uploaded.

instead of failing loudly, so nobody could pull down a trace for any failed E2E run. e2e-nightly.yml already used the correct path — pr.yml and ci-main.yml didn't.

What changed

Toggle details
  • .github/workflows/pr.yml and .github/workflows/ci-main.yml: path: playwright-report/ → path: example/playwright-report/ on the upload-artifact step in the E2E Tests job.
  • No behavior change to the tests themselves, only where the report artifact is picked up from.
  • Found while investigating a real E2E failure on test(e2e): extend Germany onboarding flow through Contract Details #1347.

Screenshots

N/A

Related Resources

Testing

  • Verified the report path mismatch against a failed CI run's log (No files were found with the provided path: playwright-report/)
  • Feature flag: N/A

Note

Low Risk
Workflow artifact path and contributor documentation only; no application or test logic changes.

Overview
CI: E2E jobs in pr.yml and ci-main.yml now upload Playwright HTML reports from example/playwright-report/ instead of repo-root playwright-report/, matching where tests run (working-directory: ./example). Failed runs should again produce downloadable playwright-report artifacts instead of silently uploading nothing.

Docs: CLAUDE.md adds a convention that PR bodies follow .github/pull_request_template.md, including how gh pr create picks up the template when scripting PRs.

Reviewed by Cursor Bugbot for commit 2516d15. Bugbot is set up for automated code reviews on this repo. Configure here.

The Playwright test step runs with working-directory: ./example, so the
HTML report lands at example/playwright-report/. The upload-artifact step
used a repo-root-relative path (playwright-report/), so every E2E failure
silently uploaded nothing - the log showed "No files were found with the
provided path" instead of failing loudly.

e2e-nightly.yml already had the correct path; pr.yml and ci-main.yml did not.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-klb6iqxgn-remotecom.vercel.app
Latest Commit:2516d15

Deployed with vercel-action

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-30rgs43vv-remotecom.vercel.app
Latest Commit:2516d15

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 86.19% 86.19% 0% ⚪
Statements 85.77% 85.77% 0% ⚪
Functions 84.73% 84.73% 0% ⚪
Branches 77.66% 77.66% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 4780 / 5546
  • Coverage: 86.19%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 4864 / 5671
  • Coverage: 85.77%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1276 / 1506
  • Coverage: 84.73%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 2962 / 3814
  • Coverage: 77.66%
  • Change: 0% (0 branches)

✅ Coverage check passed

gh pr create only pre-fills .github/pull_request_template.md when no
--body/--body-file/--fill is passed - scripting a PR body still needs to
read and fill the template explicitly, otherwise it's easy to open a
free-form body instead (as happened on #1349).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@gabrielseco
gabrielseco merged commit 6a421fe into main Sep 22, 2026
15 checks passed
@gabrielseco
gabrielseco deleted the fix/playwright-report-artifact-path branch September 22, 2026 08:18
@gabrielseco gabrielseco mentioned this pull request Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants